import { defineStore } from 'pinia';

const nocache = defineStore({
  id: 'nocache',
  state: () => {
    return {
      hitBottom: 0,
    };
  },
  getters: {
    getHitBottom: (state) => state.hitBottom,
  },
  actions: {
    setHitBottom() {
      this.hitBottom += 1;
    },
  },
});

export default nocache;
